package com.heima.model.behavior.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("bh_read")
public class BhRead implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user_id")
    private Integer userId;

    @TableField("article_id")
    private Long articleId;

    @TableField("count")
    private Integer count;

    @TableField("equipment_id")
    private Long equipmentId;

    @TableField("load_duration")
    private Long loadDuration;

    @TableField("read_duration")
    private Long readDuration;

    @TableField("percentage")
    private Integer percentage;
}
